package com.boot1.service.impl.impl;

import com.boot1.dao.StudentDao;
import com.boot1.pojo.Student;

/**
 * @author wzm
 * @create 2024-02-26 15:38
 * project_name:JavaWeb2401
 * @Description
 */
//dao接口的实现类 需要实现设计好的接口 此时在实现的方法中写出具体访问数据的代码
public class StudentDaoImpl implements StudentDao {
    @Override
    public void insertStudent(Student student) {
        //1.打开链接
        //2.书写sql相关语句
        //3.得到执行对象
        //4.执行sql并返回结果
        //....
    }

    @Override
    public void deleteStudent(int id) {

    }
}
